table {border-collapse : collapse;}
th, td {border : 1px solid black;}
p.page-break {page-break-after : always;}

table.badge {width : 86mm; height : 55mm; max-width : 86mm; max-height : 55mm; border : 1px solid black;}
table.badge td, td.main {padding-left : 0mm; border : none;}
table.badge td.header {font-size : 16pt; text-transform : uppercase; color : #193487; padding : 0; height : 10mm;}
table.badge td.phone {font-size : 8pt; padding-left : 3mm;}
table.badge td.persone_lastname, td.persone_name {font-size : 16pt; padding-left : 1mm;}
table.badge td.persone_lastname {text-transform : uppercase; padding-top : 2mm;}
table.badge td.class, td.room {font-size : 22pt; font-weight: bold;}
table.badge td.class {padding-left : 2mm;}
table.badge td.room {text-align: center;}
table.badge td.type {font-size : 12pt; text-align: center;}
table.badge img.foto {margin : 1mm 1mm 0 2mm}

table.w-badge 
{margin : 0; width : 86mm; height : 54mm; border : 1px solid #999}
table.w-badge td {border : none}
table.w-badge td.w-left-column 
{width : 34mm; padding : 0mm 0 3mm 1mm; background-repeat : no-repeat;}
table.w-badge td.w-left-column p.w-header-1 
{margin-bottom : 2mm; font-size : 5pt; text-align : center; text-transform : uppercase; font-weight : bold;}
table.w-badge td.w-left-column p.w-header-2 
{margin-bottom : 4mm; font-size : 4pt; text-align : center; font-weight : bold;}
table.w-badge td.w-left-column p.w-header-3 
{margin-bottom : 3mm; font-size : 5pt; text-align : center; text-transform : uppercase; font-weight : bold;}
table.w-badge td.w-left-column p.w-pupil-signature {margin : 0 0 7mm 3mm; font-size : 6pt;}
table.w-badge td.w-left-column p.w-pupil-signature-line {margin : 0 0 4mm 3mm; font-size : 7pt;}
table.w-badge td.w-left-column p.w-instruction {margin : 0 0 0 3mm; font-size : 4pt;}
table.w-badge td.w-right-column
{background-repeat : no-repeat;}
table.w-badge td.w-right-column td.w-left-block {width : 21mm; padding-left : 1mm;}
table.w-badge td.w-right-column td.w-left-block div.w-photo {margin : 0 auto; width : 19mm; height : 19mm;}
table.w-badge td.w-right-column td.w-left-block div.w-photo img {width : 19mm;}
table.w-badge td.w-right-column td.w-left-block div.w-date-block {margin-top : 4mm;}
table.w-badge td.w-right-column td.w-left-block div.w-date-block p.w-date-preamble 
{font-size : 5pt; text-align : center; line-height: 0;}
table.w-badge td.w-right-column td.w-left-block div.w-date-block p.w-date 
{font-size : 7pt; text-align : center; font-weight : bold;}
table.w-badge td.w-right-column td.w-left-block p.w-city {font-size : 6pt; text-align : center;}
table.w-badge td.w-right-column td.w-right-block {padding-left : 1mm; background-repeat : no-repeat;}
table.w-badge td.w-right-column td.w-right-block p.w-permit 
{font-size : 8pt; text-align : center; text-transform : uppercase; font-weight : bold; line-height: 0;}
table.w-badge td.w-right-column td.w-right-block p.w-permit-number 
{font-size : 7pt; text-align : center; font-weight : bold;}
table.w-badge td.w-right-column td.w-right-block p.w-remark {font-size : 5.8pt;}
table.w-badge td.w-right-column td.w-right-block p.w-name {font-size : 8pt; font-weight : bold;}
table.w-badge td.w-right-column td.w-right-block p.w-name span.surname {text-transform : uppercase;}
table.w-badge td.w-right-column td.w-right-block p.w-name span.name {}
table.w-badge td.w-right-column td.w-right-block p.w-class {font-size : 6.5pt;}
table.w-badge td.w-right-column td.w-right-block div.w-director-signature {font-size : 6pt;}
table.w-badge td.w-right-column td.w-right-block div.w-director-signature p.w-text {font-weight : bold;}
table.w-badge td.w-right-column td.w-right-block div.w-director-signature div.w-director-signature-img img {width : 15mm; margin : 0; /*float : left*/}
table.w-badge td.w-right-column td.w-right-block div.w-director-signature div.w-director-signature-img span.w-director-name 
{font-size : 4.5pt; font-weight : bold;}
